package com.berchina;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Slf4j
@ComponentScan(basePackages = "com.berchina.**")
@EnableAutoConfiguration(exclude = {
		SecurityAutoConfiguration.class
})
@EnableApolloConfig
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
